/*
 SGRecyclableType.m
 Date Created: March 6, 2010
 
 Authors: Karanvir Gill <viper1029@gmail.com>
          Frank Lau <flaua@sfu.ca>
 
 Copyright (C) 2010 Green-Power
 
 URL: http://code.google.com/p/green-power
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 3 of the License, or
 (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 $Id$
 */

#import "SGRecyclableType.h"


@implementation SGRecyclableType

@synthesize uniqueName;
@synthesize name;
@synthesize image;
@synthesize depositValue;

+ (NSArray *)listOfficialTypes {
	SGRecyclableType *cans=[[SGRecyclableType alloc] init];
	cans.uniqueName=@"cans";
	cans.image=@"SGcans.png";
	cans.name=@"Cans";
	cans.depositValue=5;
	
	SGRecyclableType *clearPlasticSmall=[[SGRecyclableType alloc] init];
	clearPlasticSmall.uniqueName=@"clearPlasticSmall";
	clearPlasticSmall.image=@"SGclearPlasticSmall.png";
	clearPlasticSmall.name=@"Clear Plastic (Small)";
	clearPlasticSmall.depositValue=5;
	
	SGRecyclableType *clearPlasticLarge=[[SGRecyclableType alloc] init];
	clearPlasticLarge.uniqueName=@"clearPlasticLarge";
	clearPlasticLarge.image=@"SGclearPlasticLarge.png";
	clearPlasticLarge.name=@"Clear Plastic (Large)";
	clearPlasticLarge.depositValue=20;
	
	SGRecyclableType *pouches=[[SGRecyclableType alloc] init];
	pouches.uniqueName=@"pouches";
	pouches.image=@"SGpouches.png";
	pouches.name=@"Pouches";
	pouches.depositValue=5;
	
	SGRecyclableType *tetraPakSmall=[[SGRecyclableType alloc] init];
	tetraPakSmall.uniqueName=@"tetraPakSmall";
	tetraPakSmall.image=@"SGtetraPakSmall.png";
	tetraPakSmall.name=@"Tetra Pak (Small)";
	tetraPakSmall.depositValue=5;
	
	SGRecyclableType *tetraPakLarge=[[SGRecyclableType alloc] init];
	tetraPakLarge.uniqueName=@"tetraPakLarge";
	tetraPakLarge.image=@"SGtetraPakLarge.png";
	tetraPakLarge.name=@"Tetra Pak (Large)";
	tetraPakLarge.depositValue=20;
	
	SGRecyclableType *otherPlasticSmall=[[SGRecyclableType alloc] init];
	otherPlasticSmall.uniqueName=@"otherPlasticSmall";
	otherPlasticSmall.image=@"SGotherPlasticSmall.png";
	otherPlasticSmall.name=@"Other Plastic (Small)";
	otherPlasticSmall.depositValue=5;
	
	SGRecyclableType *otherPlasticLarge=[[SGRecyclableType alloc] init];
	otherPlasticLarge.uniqueName=@"otherPlasticLarge";
	otherPlasticLarge.image=@"SGotherPlasticLarge.png";
	otherPlasticLarge.name=@"Other Plastic (Large)";
	otherPlasticLarge.depositValue=20;
	
	SGRecyclableType *gableSmall=[[SGRecyclableType alloc] init];
	gableSmall.uniqueName=@"gableSmall";
	gableSmall.image=@"SGgableSmall.png";
	gableSmall.name=@"Gable (Small)";
	gableSmall.depositValue=5;
	
	SGRecyclableType *gableLarge=[[SGRecyclableType alloc] init];
	gableLarge.uniqueName=@"gableLarge";
	gableLarge.image=@"SGgableLarge.png";
	gableLarge.name=@"Gable (Large)";
	gableLarge.depositValue=20;
	
	SGRecyclableType *glassSmall=[[SGRecyclableType alloc] init];
	glassSmall.uniqueName=@"glassSmall";
	glassSmall.image=@"SGglassSmall.png";
	glassSmall.name=@"Glass (Small)";
	glassSmall.depositValue=5;
	
	SGRecyclableType *glassLarge=[[SGRecyclableType alloc] init];
	glassLarge.uniqueName=@"glassLarge";
	glassLarge.image=@"SGglassLarge.png";
	glassLarge.name=@"Glass (Large)";
	glassLarge.depositValue=20;
	
	
	NSArray *list=[[NSArray alloc] initWithObjects:cans,
								 clearPlasticSmall,clearPlasticLarge,
								 pouches,
								 tetraPakSmall,tetraPakLarge,
								 otherPlasticSmall,otherPlasticLarge,
								 gableSmall,gableLarge,
								 glassSmall,glassLarge,
								 nil];
	return list;
}

@end
